<?php
/**
 * AccountPortlet class
 *
 * @author Steen Rabol <steen.rabol@gmail.com>
 * @link http://www.pradoportal.dk/
 * @copyright Copyright &copy; 2006,2007,2008 Steen Rabol
 * @license http://www.pradoportal.dk
 * @version $Id: AccountPortlet.php 289 2008-11-14 05:34:40Z steen.rabol@gmail.com $
 * @package Pradoportal.Portlets.AccountPortlet.Edit
 *
 */

Prado::using('Application.Portlets.Portlet');
/**
 * AccountPortlet Edit class
 *
 * This is the edit part of the account portlet.
 *
 * @package Pradoportal.Portlets.AccountPortlet.Edit
 *
 */
class AccountPortlet extends Portlet
{
	public function logout($sender,$param)
	{
		$this->Application->getModule('auth')->logout();
		$this->Response->redirect($this->Service->constructUrl($this->Service->DefaultPage));
	}
}

?>